Optimal. Leaf size=162 \[ \frac {d^5 (g x)^{1+m} \sqrt {d^2-e^2 x^2} \, _2F_1\left (-\frac {5}{2},\frac {1+m}{2};\frac {3+m}{2};\frac {e^2 x^2}{d^2}\right )}{g (1+m) \sqrt {1-\frac {e^2 x^2}{d^2}}}+\frac {d^4 e (g x)^{2+m} \sqrt {d^2-e^2 x^2} \, _2F_1\left (-\frac {5}{2},\frac {2+m}{2};\frac {4+m}{2};\frac {e^2 x^2}{d^2}\right )}{g^2 (2+m) \sqrt {1-\frac {e^2 x^2}{d^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 162, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {822, 372, 371}
\begin {gather*} \frac {d^5 \sqrt {d^2-e^2 x^2} (g x)^{m+1} \, _2F_1\left (-\frac {5}{2},\frac {m+1}{2};\frac {m+3}{2};\frac {e^2 x^2}{d^2}\right )}{g (m+1) \sqrt {1-\frac {e^2 x^2}{d^2}}}+\frac {d^4 e \sqrt {d^2-e^2 x^2} (g x)^{m+2} \, _2F_1\left (-\frac {5}{2},\frac {m+2}{2};\frac {m+4}{2};\frac {e^2 x^2}{d^2}\right )}{g^2 (m+2) \sqrt {1-\frac {e^2 x^2}{d^2}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 372
Rule 822
Rubi steps
\begin {align*} \int (g x)^m (d+e x) \left (d^2-e^2 x^2\right )^{5/2} \, dx &=d \int (g x)^m \left (d^2-e^2 x^2\right )^{5/2} \, dx+\frac {e \int (g x)^{1+m} \left (d^2-e^2 x^2\right )^{5/2} \, dx}{g}\\ &=\frac {\left (d^5 \sqrt {d^2-e^2 x^2}\right ) \int (g x)^m \left (1-\frac {e^2 x^2}{d^2}\right )^{5/2} \, dx}{\sqrt {1-\frac {e^2 x^2}{d^2}}}+\frac {\left (d^4 e \sqrt {d^2-e^2 x^2}\right ) \int (g x)^{1+m} \left (1-\frac {e^2 x^2}{d^2}\right )^{5/2} \, dx}{g \sqrt {1-\frac {e^2 x^2}{d^2}}}\\ &=\frac {d^5 (g x)^{1+m} \sqrt {d^2-e^2 x^2} \, _2F_1\left (-\frac {5}{2},\frac {1+m}{2};\frac {3+m}{2};\frac {e^2 x^2}{d^2}\right )}{g (1+m) \sqrt {1-\frac {e^2 x^2}{d^2}}}+\frac {d^4 e (g x)^{2+m} \sqrt {d^2-e^2 x^2} \, _2F_1\left (-\frac {5}{2},\frac {2+m}{2};\frac {4+m}{2};\frac {e^2 x^2}{d^2}\right )}{g^2 (2+m) \sqrt {1-\frac {e^2 x^2}{d^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.63, size = 121, normalized size = 0.75 \begin {gather*} \frac {d^4 x (g x)^m \sqrt {d^2-e^2 x^2} \left (d (2+m) \, _2F_1\left (-\frac {5}{2},\frac {1+m}{2};\frac {3+m}{2};\frac {e^2 x^2}{d^2}\right )+e (1+m) x \, _2F_1\left (-\frac {5}{2},\frac {2+m}{2};\frac {4+m}{2};\frac {e^2 x^2}{d^2}\right )\right )}{(1+m) (2+m) \sqrt {1-\frac {e^2 x^2}{d^2}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \left (g x \right )^{m} \left (e x +d \right ) \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 11.34, size = 374, normalized size = 2.31 \begin {gather*} \frac {d^{6} g^{m} x x^{m} \Gamma \left (\frac {m}{2} + \frac {1}{2}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {m}{2} + \frac {1}{2} \\ \frac {m}{2} + \frac {3}{2} \end {matrix}\middle | {\frac {e^{2} x^{2} e^{2 i \pi }}{d^{2}}} \right )}}{2 \Gamma \left (\frac {m}{2} + \frac {3}{2}\right )} + \frac {d^{5} e g^{m} x^{2} x^{m} \Gamma \left (\frac {m}{2} + 1\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {m}{2} + 1 \\ \frac {m}{2} + 2 \end {matrix}\middle | {\frac {e^{2} x^{2} e^{2 i \pi }}{d^{2}}} \right )}}{2 \Gamma \left (\frac {m}{2} + 2\right )} - \frac {d^{4} e^{2} g^{m} x^{3} x^{m} \Gamma \left (\frac {m}{2} + \frac {3}{2}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {m}{2} + \frac {3}{2} \\ \frac {m}{2} + \frac {5}{2} \end {matrix}\middle | {\frac {e^{2} x^{2} e^{2 i \pi }}{d^{2}}} \right )}}{\Gamma \left (\frac {m}{2} + \frac {5}{2}\right )} - \frac {d^{3} e^{3} g^{m} x^{4} x^{m} \Gamma \left (\frac {m}{2} + 2\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {m}{2} + 2 \\ \frac {m}{2} + 3 \end {matrix}\middle | {\frac {e^{2} x^{2} e^{2 i \pi }}{d^{2}}} \right )}}{\Gamma \left (\frac {m}{2} + 3\right )} + \frac {d^{2} e^{4} g^{m} x^{5} x^{m} \Gamma \left (\frac {m}{2} + \frac {5}{2}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {m}{2} + \frac {5}{2} \\ \frac {m}{2} + \frac {7}{2} \end {matrix}\middle | {\frac {e^{2} x^{2} e^{2 i \pi }}{d^{2}}} \right )}}{2 \Gamma \left (\frac {m}{2} + \frac {7}{2}\right )} + \frac {d e^{5} g^{m} x^{6} x^{m} \Gamma \left (\frac {m}{2} + 3\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {m}{2} + 3 \\ \frac {m}{2} + 4 \end {matrix}\middle | {\frac {e^{2} x^{2} e^{2 i \pi }}{d^{2}}} \right )}}{2 \Gamma \left (\frac {m}{2} + 4\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (d^2-e^2\,x^2\right )}^{5/2}\,{\left (g\,x\right )}^m\,\left (d+e\,x\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________